layout.tsx 568 B

12345678910111213141516171819202122
  1. import Header from "@/components/Header";
  2. import { FC, PropsWithChildren } from "react";
  3. type Props = {};
  4. // export const generateMetadata = (props: any) => {
  5. // console.log(`🚀🚀🚀🚀🚀-> in layout.tsx on 6`, props);
  6. // return {
  7. // title: "Sport",
  8. // };
  9. // };
  10. const Layout: FC<PropsWithChildren<Props>> = (props) => {
  11. const { children } = props;
  12. return (
  13. <>
  14. <Header visibleLanguage={false} />
  15. <main className={"main-footer-header"}>{children}</main>
  16. </>
  17. );
  18. };
  19. export default Layout;